package tech.aistar.mapper;

import org.apache.ibatis.annotations.Select;
import tech.aistar.entity.dynamic.News;

import java.util.List;

/**
 * Created by David on 2019/9/28.
 */
public interface NewsMapper {
    @Select("select * from news where newsId=#{value}")
    List<News> findAllById(Integer newsId);
}
